package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.risk.BpCompanyBean;
import com.joysuch.wwyt.bp.entity.risk.BpCompany;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import org.springframework.data.domain.Pageable;

import java.time.LocalDate;
import java.util.Map;

/**
 * @Author ZhangDong
 * @Date 2020/3/16 11:06
 */
public interface BpRiskCompanyService {

    ResultBean save(BpCompanyBean bpCompanyBean);

    ResultBean showData(LocalDate announceTime);

    ResultBean delete(Long id);

    ResultBean getById(Long id);

    ResultBean page(Pageable pageable, LocalDate announceDate);

    Map<String, BpCompany> getAnnounceMsg();

    //更新上报
    void updateState();
}
